from curl_cffi import requests

headers = {
    "accept": "*/*",
    "accept-language": "zh-CN,zh;q=0.9,en;q=0.8,ar;q=0.7",
    "cache-control": "no-cache",
    "pragma": "no-cache",
    "referer": "https://www.jd.com/",
    "sec-ch-ua": "\"Not)A;Brand\";v=\"8\", \"Chromium\";v=\"138\", \"Microsoft Edge\";v=\"138\"",
    "sec-ch-ua-mobile": "?0",
    "sec-ch-ua-platform": "\"Windows\"",
    "sec-fetch-dest": "script",
    "sec-fetch-mode": "no-cors",
    "sec-fetch-site": "same-site",
    "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36 Edg/138.0.0.0"
}
cookies = {
    "b_webp": "1",
    "b_avif": "1",
    "jcap_dvzw_fp": "_HIVLiZCIEZDIcHwXjPU43al5uvsYIwPfs4O6VE9nqABptbi3ASG0seWjzU_o2F4bpTtKrH1VphdN9RwziykSA==",
    "whwswswws": "",
    "__jdv": "122270672%7Cdirect%7C-%7Cnone%7C-%7C1751545604909",
    "__jdu": "1751545604909534518369",
    "pinId": "briEibRb-h1YgxkG81uaz7V9-x-f3wj7",
    "pin": "jd_7eac037a858fc",
    "unick": "jd_8js7q5tn2s7n2h",
    "_tp": "aO5XtogPiplRTZPyN6P5Vkd5JC%2FQJe7kEmh0g0oTaNI%3D",
    "_pst": "jd_7eac037a858fc",
    "shshshfpa": "ab96e4b0-82d6-a907-9206-6c096fe807bb-1751545628",
    "shshshfpx": "ab96e4b0-82d6-a907-9206-6c096fe807bb-1751545628",
    "PCSYCityID": "CN_440000_440300_0",
    "autoOpenApp_downCloseDate__jd_czlogin_openapp_": "1752224419174_1",
    "b_dw": "1912",
    "b_dh": "954",
    "b_dpr": "1",
    "commonAddress": "0",
    "regionAddress": "1%2C72%2C55674%2C0",
    "mt_xid": "V2_52007VwMUVl1cV14YSBxUBG8HEFdZWFtYGEEpXVBjCkcCCAhOWBsdGUAAZQAUTg1eVFMDHhoLDDdQEQBeXFBdL0oYXwF7AhROXVhDWhlCHFQOZwMiUG1YYlMfSB1eBmMEFFJcX1ZZGk4RWQ1XAxFRXw%3D%3D",
    "warehistory": "\"100124552423,10092745719292,100124552423,100126228944,\"",
    "autoOpenApp_downCloseDate_autoOpenApp_autoPromptly": "1752227819923_1",
    "3AB9D23F7A4B3C9B": "GNWKXUTIE6HBK6NALGSXSPDIJB4FOSTK2HH5HNAWZAUUMF5JYQCGOIB4252C7TECGDOSXSGLUC74Z5SQVPIKNU2LBE",
    "autoOpenApp_downCloseDate_jd_homePage": "1752462226750_1",
    "autoOpenApp_downCloseDate_auto": "1752462295553_1800000",
    "areaId": "19",
    "ipLoc-djd": "19-1607-0-0",
    "pt_st": "1_QNKa_p1pyRBuRGl7XqjS4ZLHq52uvHozXQu0yZZJaZBykE4huAxadU8rhTxkOed5v-IuGcuXOYsk2aIeXaDCbyBsLjrt7MdvOSvBodXxczB1FkZgSNPx2J-jeoajHnfW39S6QiYrPFEIK1rDtYq4I4SRP4BxLa81ywRy9N0XGlJp_KtCaUMwl_dWLrRUp5syXYAGm0trSW0tTUQiv77qSqdfTbhMefstFJyB3qwZ",
    "3AB9D23F7A4B3CSS": "jdd03GNWKXUTIE6HBK6NALGSXSPDIJB4FOSTK2HH5HNAWZAUUMF5JYQCGOIB4252C7TECGDOSXSGLUC74Z5SQVPIKNU2LBEAAAAMYDPIKKMAAAAAACXN2TFNFSYLTDUX",
    "_gia_d": "1",
    "TrackID": "1wz-AJq3Ijr3rS_VLaOiAWVN_gn69XgJr1hTbWSkQMDOI7437TwOTBAiwzQ3hfAc_q6a4jtomqUjyhOIm--uEagsA7XAc2A1CRcW6olVlNpzLuokbANQ2G9__Vo-FJ-7Q",
    "thor": "2B3FAB022DDA7FFF772855629D82E8BA86B6B654FC776E1930AA7FEB1EB3100E441AAB000666F9761D2EB4DE0C922CC91E529BCECAE345F9908E0613A83CB673785C380305B1548C6FFCCBEB54CF6E2BBAA9177C341B4A67C82828028C66E30988EA74980EC4ED4E147ACC2E3087724B0976C670B4FB4025737266B39231BBD1D0A4A213F478C2D0DE1C5DDC6840638D3816371B76CEDD0A6D42392F1AE52CED",
    "flash": "3_5TXIXIgmuZL67Lem6Q9KmCL56SzLn4XeqCccqd39rskUo8iqKD-_-LUkaJD3N4QlmexUF6B38knkirN_ZFvawBE2Na1sRh8TQhv7DbT0oQmm0oaBKKbl9ZlntyuId1RhpR_V9krQnyd7GGvTWKnNcQj8rTMaV7JS2BekrBRSjMsJoNYGTd5-fq**",
    "light_key": "AASBKE7rOxgWQziEhC_QY6yaHGu83wm31_0oKwpZiH3-etoTCCAwynapKWHbDNGcvBcKCSfN",
    "ceshi3.com": "000",
    "__jda": "76161171.1751545604909534518369.1751545604.1752738491.1752813314.10",
    "__jdc": "76161171",
    "mail_times": "2%2C1",
    "cn": "12",
    "shshshfpb": "BApXSp9_ZGP1AYEqgcJFHsyDPBX7ULrZhBhMVUQdt9xJ1MppMe462",
    "__jdb": "76161171.6.1751545604909534518369|10.1752813314",
    "sdtoken": "AAbEsBpEIOVjqTAKCQtvQu17eqY-FKxHURVNcUNMExs7hWibHCxWgKF1_gvs-4qnmRv0YQP_xRr9KOkLhAHBxPB1tvGFbqI5Uh6MXq96IT1R_OXzpWB6Rr0w"
}
url = "https://api.m.jd.com/"
params = {
    "h5st": "20250718144949751;9wp9d3gw9p20jwh9;b5216;tk05w61b5b8f541lMyszeDNKZjMtsmegGRHU_mrS1S3V7eYg_RXguueuW89csPqd_p7aBmbZN1YYtdIW4ibi6mLVJloi;f46ad2b9c6fbef6fa4a9ea251d8ff14a;5.1;1752821383751;t6HsMKrU3Foi8uXg3R4iKJrS3JLmOGLm_VImOuMsCOrm0mMTLhImOuMsCmchMZrh_ObVIhYW4irV5u7i5a7W8mIVKRLV8WYiLh7i8msm0msSo94VMZ4RMusmk_Mm3mbW6mbh5qbh9Obi6OLW_KLV4m7i6qbWNVYg3WoV9qLmOGLm7pIRAp4WMusmk_Mm96MmOGLm6aHWMusmk_Mm22ciAaLRPZoTFV4X5OImOGLm4lsmOGujMurS866V1a4V8msm0mcT-dITNlHmOuMsCmMi72YUXlsm0mMV_lsmOGujxtsmkmrm0mci9aHWMusmOuMsCmbiOGLm_qbRMlsmOusmk_sgBuMgMmbi5lImOusmOGujMGoYo9IiNJKa2WIaMuMgM64TK1YW8lsmOusmk_siOGLm2aHWMusmOuMsCurm0m8h5lImOusmOGuj96sm0mMh5lImOusmOGuj_uMgMabRMlsmOusmk_siOGLm6aHWMusmOuMsCqbjOGLm7aHWMusmOuMsCmshAqLj_msm0mci5lImOusmOGuj_uMgMC4RMusmOuMsCarm0m8SClsmOusmk_siOGLmClsmOusmk_siOGLmKRHmOusmOG_QOGLmK1YV6NXVMusmk_cPztMgMunSMusmk_Mm6WrQOCrh42YUXt8g_2si9usZgt8S3xoVAJ4ZMuMgMqYR7lsmOG_Q;1cdf12088e17afdd4e6506fbf12491ca;tenjKJKT-JoRL1YRI9MT-J4S8ZIZ61YVF94WCeHTJJoTL9cQKxIWCeYU_tXW",
    "appid": "www-jd-com",
    "body": "{\"page\":1,\"pagesize\":25,\"area\":\"19_1607_0_0\",\"source\":\"pc-home\",\"gb\":1}",
    "clientVersion": "1.0.0",
    "client": "pc",
    "functionId": "pc_home_feed",
    "t": "1752813379320",
    "uuid": "76161171.1751545604909534518369.1751545604.1752738491.1752813314.10",
    "loginType": "3",
    "x-api-eid-token": "jdd03GNWKXUTIE6HBK6NALGSXSPDIJB4FOSTK2HH5HNAWZAUUMF5JYQCGOIB4252C7TECGDOSXSGLUC74Z5SQVPIKNU2LBEAAAAMYDPIKKMAAAAAACXN2TFNFSYLTDUX",
    "callback": "jsonpMore2Goods",
    "_": "1752813379327"
}
response = requests.get(url, headers=headers, cookies=cookies, params=params)

print(response.text)
print(response)